/*
 * @Author: shiweizhen 787632169@qq.com
 * @Date: 2025-07-01 15:21:00
 * @LastEditors: shiweizhen 787632169@qq.com
 * @LastEditTime: 2025-07-07 14:49:45
 * @Description:
 * Copyright (c) 2025-present HBIS Digital Technology Co.,Ltd. All rights reserved.
 */
import { ID } from 'hbisdt-design';

export interface UpdateWorkbookType {
  id: string;
  sheetId: string;
  styles?: string;
  sheetJson: string;
}

export interface SheetPageType {
  id: string;
  workbookDataId: string;
  dataJson: string;
}

export interface IdType {
  workbookDataId: string;
  workbookSheetId: string;
}

export interface SheetCalType extends IdType {
  id?: ID;
  excelRange: string;
  formula: string;
  middleCalIds: string;
  calculateResult?: number;
}

export interface FilterType extends IdType {
  excelRange: string;
}

export interface UpdateCalType extends IdType {}

export interface UpdateResultType extends IdType {
  id: number;
  calculateResult: number;
  formula: string;
  excelRange: string;
  middleCalIds: string;
}
